package com.emenu.bean;

public class BusSerieshit {
	private int id;
	private String hit_code;
	private String series_code;
	private String seriesgroupcode;
	private String submenu_code;
	private double amount;
	private int upload;
	private String c1;
	private String c2;
	private String c3;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getHit_code() {
		return hit_code;
	}

	public void setHit_code(String hit_code) {
		this.hit_code = hit_code;
	}

	public String getSeries_code() {
		return series_code;
	}

	public void setSeries_code(String series_code) {
		this.series_code = series_code;
	}

	public String getSeriesgroupcode() {
		return seriesgroupcode;
	}

	public void setSeriesgroupcode(String seriesgroupcode) {
		this.seriesgroupcode = seriesgroupcode;
	}

	public String getSubmenu_code() {
		return submenu_code;
	}

	public void setSubmenu_code(String submenu_code) {
		this.submenu_code = submenu_code;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public int getUpload() {
		return upload;
	}

	public void setUpload(int upload) {
		this.upload = upload;
	}

	public String getC1() {
		return c1;
	}

	public void setC1(String c1) {
		this.c1 = c1;
	}

	public String getC2() {
		return c2;
	}

	public void setC2(String c2) {
		this.c2 = c2;
	}

	public String getC3() {
		return c3;
	}

	public void setC3(String c3) {
		this.c3 = c3;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof BusSerieshit) {
			BusSerieshit item = (BusSerieshit) o;
			if (item.getSeries_code().equals(this.series_code)
					&& item.getSeriesgroupcode().equals(this.seriesgroupcode)
					&& item.getSubmenu_code().equals(this.submenu_code))
				return true;
		}
		return false;
	}

}
